package com.boss.salary.service.impl;


import com.boss.salary.dao.ISalaryBackLogDao;
import com.boss.salary.entity.SalaryBackLog;
import com.boss.salary.service.ISalaryBackLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SalaryBackLogServiceImpl implements ISalaryBackLogService {

    @Autowired
    private ISalaryBackLogDao salaryBackLogDao;

    @Override
    public void saveSalaryBackLog(String bankName, String bankCode, String log_type, String province) {
        salaryBackLogDao.saveSalaryBackLog(bankName,bankCode,log_type,province);
    }

    @Override
    public List<SalaryBackLog> getSalaryBackLogByProvince(String province, String logType) {
        return salaryBackLogDao.getSalaryBackLogByProvince(province,logType);
    }

    @Override
    public void updateSalaryBackLog(String id) {
        salaryBackLogDao.updateSalaryBackLog(id);
    }
}
